package com.material.mdbook.bean;

import com.google.gson.annotations.SerializedName;

/**
 * @author zhangli
 * @date 2019/4/8 14:40
 * description:
 */
public class AVData {
    @SerializedName("@type")
    public String type;

    public String className;
    public String createdAt;
    public String objectId;
    public ServerData serverData;
    public String updatedAt;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public ServerData getServerData() {
        return serverData;
    }

    public void setServerData(ServerData serverData) {
        this.serverData = serverData;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public class ServerData{
        String type;
        String updateAddress;
        String url;
        String version;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUpdateAddress() {
            return updateAddress;
        }

        public void setUpdateAddress(String updateAddress) {
            this.updateAddress = updateAddress;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        @Override
        public String toString() {
            return "ServerData{" +
                    "type='" + type + '\'' +
                    ", updateAddress='" + updateAddress + '\'' +
                    ", url='" + url + '\'' +
                    ", version='" + version + '\'' +
                    '}';
        }
    }



}
